
function changeSingedType(detailTable,detailField,changeField,errValue,rightValue){
    let detailIndexStr = WfForm.getDetailAllRowIndexStr(detailTable)
    let changeFieldId = WfForm.convertFieldNameToId(changeField)
    if(detailIndexStr == null){
        return
    }
    let detailIndexArr = detailIndexStr.split(",");
    let detailFieldId = WfForm.convertFieldNameToId(detailField, detailTable);
    let n = 0;
    detailIndexArr.forEach(item=>{
        console.log(item)
        let fieldId = detailFieldId + "_" + item
        let value = WfForm.getFieldValue(fieldId);
        console.log(value)
        if(value == null || value == ""){
            WfForm.changeFieldValue(changeFieldId, {value:errValue});
        }
        n ++
    })
    if(n == detaiIndexArr.length){
        WfForm.changeFieldValue(changeFieldId, {value:rightValue});
    }
}